package com.college.interfaces;

import java.util.List;

import javax.management.relation.Role;

import com.college.domain.College;
import com.college.domain.Roles;

public interface IRolesDAO {

	public Roles getRolesById(int id);
	public List<Roles> getRolesByName(String rolename);
	public List<Roles> getRolesList();
	public int saveRole(Roles role);
	public int updateRole(Roles role);
	public void deleteRoleeById(int id);
	public List<Roles> getRoleByUserId(Integer userId);
}
